package ${package}.service;

/**
 * ${description}
 *
 * @author ${author}
 * @version ${createDate}
 */
public interface ${beanName}Service extends Service {

	/**
	 * 新增${description}
	 * 
	 * @param ${uncapitalizeBeanName}
	 * @return true 成功,false 失败
	 */
	public boolean save(${beanName}Form ${uncapitalizeBeanName}) throws IllegalAccessException, InvocationTargetException;
	/**
	 * 修改${description}
	 * 
	 * @param ${uncapitalizeBeanName}
	 * @return true 成功,false 失败
	 */
	public boolean update(${beanName}Form ${uncapitalizeBeanName}) throws IllegalAccessException, InvocationTargetException;
	/**
	 * 删除${description}
	 * 
	 * @param id
	 * @return true 成功,false 失败
	 */
	public boolean delete(Long id);
	
	/**
	 * 获得${description}-list,有分页
	 * 
	 * @param ${uncapitalizeBeanName}
	 * @return list<${beanName}>
	 */
	public List<${beanName}> get${beanName}(${beanName}Form ${uncapitalizeBeanName});
	
	/**
	 * 获得${description}-list
	 * 
	 * @param ${uncapitalizeBeanName}
	 * @return list<${beanName}>
	 */
	public List<${beanName}> get${beanName}();
	
	/**
	 * 根据ID获得${description}
	 * 
	 * @param id
	 * @return ${beanName}
	 */
	public ${beanName} get(String id);
}
